
Skt.Tool = L.Class.extend({

  enable: function(editor){
    this._editor = editor;
    this._canvas = editor.getCurrentCanvas();
    this._options = editor.getToolOptions();
    this.name = "abstract";
  },

  disable: function(editor){},
  

  onDragstartElement: function(element, event){},
  onDragmoveElement: function(element, event){},
  onDragendElement: function(element, event){},

  onDragstartCanvas: function(canvas, event){},
  onDragmoveCanvas: function(canvas, event){},
  onDragendCanvas: function(canvas, event){},

  getName: function() { return this.name; },
  getEditor: function() { return this._editor; }

});